package net.goutalk.glcs.module.bi.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author: tanyujie
 * @Date: 2023/5/16 14:16
 */
@Data
public class PublishMenuDto {

    @ApiModelProperty("主键")
    @NotNull(message = "大屏id不能为空！")
    private Long projectId;

    /**
     * 菜单编码
     */
    @ApiModelProperty("菜单编码")
    @NotBlank(message = "菜单编码不能为空！")
    private String code;
    /**
     * 菜单名
     */
    @ApiModelProperty("菜单名")
    @NotBlank(message = "菜单名不能为空！")
    private String title;
    /**
     * 父级
     */
    @ApiModelProperty("父级")
    private Long parentId = 0L;

    /**
     * 排序
     */
    @ApiModelProperty("排序")
    private Integer sortCode;

    /**
     * 菜单id
     */
    @ApiModelProperty("菜单id")
    private Long menuId;
    /**
     * 备注
     */
    @ApiModelProperty("备注")
    private String remark;

    /**
     * 图标
     */
    @ApiModelProperty("图标")
    private String icon;

    /**
     * bi地址
     */
    @ApiModelProperty("bi地址")
    private String url;
}
